package com.llf.Blog.ServiceImpl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.llf.Blog.Mapper.BlogTagsMapper;
import com.llf.Blog.Pojo.BlogTags;

import com.llf.Blog.Service.BlogTagsService;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import java.util.ArrayList;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author llf
 * @since 2021-08-07
 */
@Transactional(rollbackFor=Exception.class)
@Service
public class BlogTagsServiceImpl extends ServiceImpl<BlogTagsMapper, BlogTags> implements BlogTagsService {

    @Autowired
    private  BlogTagsMapper blogTagsMapper;
    @Override
    public ArrayList<BlogTags> getCountTag() {
        return blogTagsMapper.getCountTag();
    }
}
